﻿<%@ Page Title="" Language="C#" MasterPageFile="~/Centrale_Achat/CentraleAchat.Master" AutoEventWireup="true" CodeBehind="DetailCommandesFournisseurs.aspx.cs" Inherits="DevelopmentPFR.Centrale_Achat.DetailCommandesFournisseurs" %>
<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="Contenu" runat="server">
    <div class="row">
        <div class="form-group">
            <div class="col-sm-6">
                <label for="inputNumCmd" class="control-label">NUMERO DE COMMANDE</label>
            </div>
            <div class="col-sm-4">
                <asp:TextBox runat="server" ID="refCommandeCa" CssClass="form-control" disabled="disabled" />
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-6">
                <label for="inputNumCmd" class="control-label">NUMERO DE COMMANDE HYPERMARCHE</label>
            </div>
            <div class="col-sm-4">
                <asp:TextBox runat="server" ID="refCommandeHyp" CssClass="form-control" disabled="disabled" />
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-6">
                <label for="inputNumCmd" class="control-label">FOURNISSEUR</label>
            </div>
            <div class="col-sm-4">
                <asp:TextBox runat="server" ID="fournisseur" CssClass="form-control" disabled="disabled" />
            </div>
        </div>
        <div class="form-group">
            <div class="col-sm-6">
                <label for="inputNumCmd" class="control-label">STATUT</label>
            </div>
            <div class="col-sm-2">
                <asp:TextBox runat="server" ID="statut" CssClass="form-control" disabled="disabled" />
            </div>
            <div class="col-sm-offset-1 col-sm-2">
                <asp:Button
                    runat="server"
                    ID="EtapeSuivante"
                    Text="Passer la commande en "
                    CssClass="btn btn-default"
                    OnClientClick="return confirm('Etes vous sûr de vouloir passer à l\'étape suivante?');"
                    OnClick="EtapeSuivante_OnClick" />
            </div>
        </div>
    </div>
    <div class="row">
        <asp:GridView
            ID="listeProduits"
            runat="server"
            AutoGenerateColumns="False"
            CssClass="table table-bordered table-responsive"
            AlternatingRowStyle-BackColor="#D7D7D7"
            HeaderStyle-BackColor="#B0C1D0">
            <Columns>
                <asp:BoundField DataField="refArticle" HeaderText="Référence" />
                <asp:BoundField DataField="designationArticle" HeaderText="Désignation" />
                <asp:BoundField DataField="quantiteCommande" HeaderText="Quantité commandé" />
                <asp:BoundField DataField="prixtArtHt" HeaderText="Prix HT" />
            </Columns>
        </asp:GridView>
    </div>

    <div class="form-group">
        <div class="col-sm-6">
            <label for="inputPrixTotal" class="control-label">PRIX TOTAL HT</label>
        </div>
        <div class="col-sm-4">
            <asp:TextBox runat="server" ID="prixTotalHT" CssClass="form-control" disabled="disabled" />
        </div>
    </div>
</asp:Content>
